<!DOCTYPE HTML PUBLIC "-//SoftQuad Software//DTD HoTMetaL PRO 6.0::19990601::extensions to HTML 4.0//EN" "hmpro6.dtd">
<HTML>
  <HEAD>
	 <TITLE>Test Menu</TITLE> <SCRIPT>
 var xDT;
 var left = 0;
 var top = 0;
 var pos = 'test:R:10';
 function OpenUrl(url, p ,w,h) {
  xDT = parent.DeskTop.xDT;
  //if (url == "http://" || url == "") {alert("invalid URL"); return false; }
  if (url == "") {alert("invalid URL"); return false; }
  var win = xDT.addWindow("", url , w , h, p ,0);
  if (win.match(/^w/)) {
   //setTimeout("xDT.url('" + win + "','" + url + "')",250);
   xDT.url(win,url);
   xDT.show(win);
   left = xDT.prop(win,"wX") + 30;
   top = xDT.prop(win,"wY") + 30;
   pos = left + "," + top;
  }
  else alert("Unknow window: " + win);
  return false;
 }

 parent.LOADED = 1;
</SCRIPT>
  </HEAD>
    <BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"	BGCOLOR="#0000ff">
	<input type='button' value='START' onclick="OpenUrl('menu.php','sw',180,500)">
    </BODY>
</HTML>
